package com.punai.standard.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * 材料单位换算对象 sta_link_cl_unit
 *
 * @author zhx
 * @date 2022-12-21
 */
public class StaLinkClUnit extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
        private String id;

    /** 版本id */
        private String versionId;

    /** 材料id */
            @Excel(name = "材料id")
        private String materialId;

    /** 换算单位 */
            @Excel(name = "换算单位")
        private String unit;

    /** 换算系数 */
            @Excel(name = "换算系数")
        private BigDecimal coefficient;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setVersionId(String versionId)
            {
            this.versionId = versionId;
            }

    public String getVersionId()
            {
            return versionId;
            }
    public void setMaterialId(String materialId)
            {
            this.materialId = materialId;
            }

    public String getMaterialId()
            {
            return materialId;
            }
    public void setUnit(String unit)
            {
            this.unit = unit;
            }

    public String getUnit()
            {
            return unit;
            }
    public void setCoefficient(BigDecimal coefficient)
            {
            this.coefficient = coefficient;
            }

    public BigDecimal getCoefficient()
            {
            return coefficient;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("versionId", getVersionId())
            .append("materialId", getMaterialId())
            .append("unit", getUnit())
            .append("coefficient", getCoefficient())
        .toString();
        }
        }
